Ext.define('cc.self.model.SelfFactory', {
	extend: 'Ext.data.Model',
	idProperty: 'id',
	fields: [
		{ name: 'id', type: 'int' },
		{ name: 'bus_id', type: 'int' },
		{ name: 'name' },
		{ name: 'cg_money', type: 'float' },
		{ name: 'dp_date', type: 'date', dateFormat: 'Y-m-d H:i:s' },
		{ name: 'fk_money', type: 'float' },
		{ name: 'fk_date', type: 'date', dateFormat: 'Y-m-d H:i:s' },
		{ name: 'ts_rate', type: 'float' },
		{ name: 'ts_money', type: 'float'}
	]
});
